<?php

	echo '<fieldset><legend>Dados</legend>';
	echo $this->Form->create('Agenda');
	echo $this->Form->input('senha_atual',array('type' => 'password', 'class' => 'tamanho30', 'label'=> __('Senha Atual'), 'maxlength' => 100)); 
	echo $this->Form->input('senha_nova',array('type' => 'password', 'class' => 'tamanho30', 'label'=> __('Nova Senha'), 'maxlength' => 100));
	echo $this->Form->input('senha_confirma',array('type' => 'password', 'class' => 'tamanho30', 'label'=> __('Redigite a Nova Senha'), 'maxlength' => 100));
	echo '<div class="botoes_form">';
	echo $this->Form->button('Salvar', array('type' => 'submit'));
	echo $this->Form->button('Voltar', array('type'=>'button', 'onClick' => "javascript:location='{$this->request->base}/{$this->request->controller}/index'"));
	echo '</div>'; 
	echo $this->Form->end();
	echo '</fieldset>';